package com.github.base.vo.permission;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 资源VO
 * @author: hui.zhang
 * @date: 2021/1/28 10:29 上午
 **/

@Data
public class PermissionVO {

    @Schema(description = "主键id")
    private Long id;

    @Schema(description = "父id")
    private Long parentId;

    @Schema(description = "icon")
    private String menuIcon;

    @Schema(description = "路由")
    private String menuUrl;

    @Schema(description = "排序")
    private Integer sortNumber;

    @Schema(description = "权限编码")
    private String permissionCode;

    @Schema(description = "权限名称")
    private String permissionName;

    @Schema(description = "类型 1-菜单 2-按钮")
    private Integer permissionType;

    @Schema(description = "可否操作 1-是 0-否")
    private Integer operable;

}
